﻿<UserControl x:Class="CI.Views.Diagramming.DiagramView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:zoom="clr-namespace:WPFExtensions.Controls;assembly=WPFExtensions" xmlns:graph="clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls" xmlns:Models="clr-namespace:CI.Models;assembly=CI.Models" xmlns:Data="clr-namespace:CI.Models.Data;assembly=CI.Models" mc:Ignorable="d" 
             d:DesignHeight="500" d:DesignWidth="600"
             xmlns:dd="clr-namespace:GongSolutions.Wpf.DragDrop;assembly=GongSolutions.Wpf.DragDrop"
             xmlns:cal="http://www.caliburnproject.org">
    <UserControl.Resources>

    </UserControl.Resources>
    <Grid>
        <!--  -->
        <zoom:ZoomControl x:Name="Zoom" HorizontalAlignment="Stretch" VerticalContentAlignment="Stretch" dd:DragDrop.IsDropTarget="True" dd:DragDrop.DropHandler="{Binding}">
            <graph:GraphLayout x:Name="GraphLayout" Graph="{Binding Path=Graph}" LayoutAlgorithmType="{Binding Path=LayoutOptions.SelectedAlgorithm}" OverlapRemovalAlgorithmType="FSA" HighlightAlgorithmType="Simple">

            </graph:GraphLayout>
        </zoom:ZoomControl>
    </Grid>
</UserControl>
